package com.ketangpai.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ketangpai.admin.entity.Course;
import com.ketangpai.admin.entity.UserCourse;
import com.ketangpai.admin.entity.param.CreateCourseParam;
import com.ketangpai.admin.entity.param.DropCourseParam;
import com.ketangpai.admin.entity.param.UpdateCourseParam;

public interface CourseService extends IService<Course> {
    //根据课程id获取课程
    public Course getCourseById(Integer userId);
    public boolean update(UpdateCourseParam updateCourseParam);
    public Course create(Course course);
    public String delete(DropCourseParam dropCourseParam);
}
